﻿using System;
using System.Collections.Generic;

namespace Pay.DTO.hfnative {
	/// <summary>
	/// 请求公共报文
	/// </summary>
	public class hf_native_head {
		/// <summary>
		/// 代理商编号，由平台分配
		/// </summary>
		public string mchId { get; set; }
		/// <summary>
		/// 平台商户号，由平台分配
		/// </summary>
		public string subMchId { get; set; }
		/// <summary>
		/// sign
		/// </summary>
		public string sign { get; set; }
	}
	/// <summary>
	/// 响应报文
	/// </summary>
	public class hf_pay_resp {
		/// <summary>
		/// 此字段是通信标识，非交易标识，交易是否成功需要查看resultCode来判断,0：成功、1：失败
		/// </summary>
		public string returnCode { get; set; }
		/// <summary>
		/// 返回信息，如非空，为错误原因	签名失败、参数格式校验错误
		/// </summary>
		public string returnMsg { get; set; }
		/// <summary>
		/// 业务结果状态	0：成功、1：失败
		/// </summary>
		public string resultCode { get; set; }
		/// <summary>
		/// 错误代码:n
		/// </summary>
		public string errCode { get; set; }
		/// <summary>
		/// 错误代码描述:n
		/// </summary>
		public string errCodeDes { get; set; }
		public string sign { get; set; }
	}
}
